
function changePassword() {
  $(".out_layer").show();
}

function hideLayer() {
  $(".out_layer").hide();
}


var countdown=60; 
function send_check_code(val) { 
  if (countdown == 0) { 
    val.removeAttribute("disabled");    
    val.innerText = "获取验证码"; 
    countdown = 60; 
  }
  else { 
    val.setAttribute("disabled", true); 
    val.innerText = "重新发送(" + countdown + ")"; 
    countdown--; 

    setTimeout(function() { 
      send_check_code(val) 
    },1000) 
  }
} 

// 确认提交修改密码 //
function sureChange() {
  hideLayer();
}